Integrand size = 21, antiderivative size = 68 \[ \int \frac {\cos ^7(c+d x)}{a+a \sin (c+d x)} \, dx=-\frac {(a-a \sin (c+d x))^4}{a^5 d}+\frac {4 (a-a \sin (c+d x))^5}{5 a^6 d}-\frac {(a-a \sin (c+d x))^6}{6 a^7 d} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2746, 45} \[ \int \frac {\cos ^7(c+d x)}{a+a \sin (c+d x)} \, dx=-\frac {(a-a \sin (c+d x))^6}{6 a^7 d}+\frac {4 (a-a \sin (c+d x))^5}{5 a^6 d}-\frac {(a-a \sin (c+d x))^4}{a^5 d} \]
[In]
[Out]
Rule 45
Rule 2746
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int (a-x)^3 (a+x)^2 \, dx,x,a \sin (c+d x)\right )}{a^7 d} \\ & = \frac {\text {Subst}\left (\int \left (4 a^2 (a-x)^3-4 a (a-x)^4+(a-x)^5\right ) \, dx,x,a \sin (c+d x)\right )}{a^7 d} \\ & = -\frac {(a-a \sin (c+d x))^4}{a^5 d}+\frac {4 (a-a \sin (c+d x))^5}{5 a^6 d}-\frac {(a-a \sin (c+d x))^6}{6 a^7 d} \\ \end{align*}
Time = 0.13 (sec) , antiderivative size = 66, normalized size of antiderivative = 0.97 \[ \int \frac {\cos ^7(c+d x)}{a+a \sin (c+d x)} \, dx=-\frac {\sin (c+d x) \left (-30+15 \sin (c+d x)+20 \sin ^2(c+d x)-15 \sin ^3(c+d x)-6 \sin ^4(c+d x)+5 \sin ^5(c+d x)\right )}{30 a d} \]
[In]
[Out]
Time = 0.24 (sec) , antiderivative size = 68, normalized size of antiderivative = 1.00
method | result | size |
derivativedivides | \(-\frac {\frac {\left (\sin ^{6}\left (d x +c \right )\right )}{6}-\frac {\left (\sin ^{5}\left (d x +c \right )\right )}{5}-\frac {\left (\sin ^{4}\left (d x +c \right )\right )}{2}+\frac {2 \left (\sin ^{3}\left (d x +c \right )\right )}{3}+\frac {\left (\sin ^{2}\left (d x +c \right )\right )}{2}-\sin \left (d x +c \right )}{d a}\) | \(68\) |
default | \(-\frac {\frac {\left (\sin ^{6}\left (d x +c \right )\right )}{6}-\frac {\left (\sin ^{5}\left (d x +c \right )\right )}{5}-\frac {\left (\sin ^{4}\left (d x +c \right )\right )}{2}+\frac {2 \left (\sin ^{3}\left (d x +c \right )\right )}{3}+\frac {\left (\sin ^{2}\left (d x +c \right )\right )}{2}-\sin \left (d x +c \right )}{d a}\) | \(68\) |
risch | \(\frac {5 \sin \left (d x +c \right )}{8 a d}+\frac {\cos \left (6 d x +6 c \right )}{192 a d}+\frac {\sin \left (5 d x +5 c \right )}{80 d a}+\frac {\cos \left (4 d x +4 c \right )}{32 a d}+\frac {5 \sin \left (3 d x +3 c \right )}{48 d a}+\frac {5 \cos \left (2 d x +2 c \right )}{64 a d}\) | \(101\) |
parallelrisch | \(\frac {2 \tan \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (15 \left (\tan ^{10}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-15 \left (\tan ^{9}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+35 \left (\tan ^{8}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+78 \left (\tan ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-50 \left (\tan ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+78 \left (\tan ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+35 \left (\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-15 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )+15\right )}{15 d \left (1+\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )^{6} a}\) | \(137\) |
norman | \(\frac {\frac {2 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )}{d a}+\frac {2 \left (\tan ^{14}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{d a}+\frac {14 \left (\tan ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{3 d a}+\frac {14 \left (\tan ^{12}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{3 d a}+\frac {14 \left (\tan ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{3 d a}+\frac {14 \left (\tan ^{11}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{3 d a}+\frac {42 \left (\tan ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{5 d a}+\frac {42 \left (\tan ^{9}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{5 d a}+\frac {196 \left (\tan ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{15 d a}+\frac {196 \left (\tan ^{10}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{15 d a}+\frac {212 \left (\tan ^{7}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{15 d a}+\frac {212 \left (\tan ^{8}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{15 d a}}{\left (1+\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )^{7} \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )}\) | \(257\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 49, normalized size of antiderivative = 0.72 \[ \int \frac {\cos ^7(c+d x)}{a+a \sin (c+d x)} \, dx=\frac {5 \, \cos \left (d x + c\right )^{6} + 2 \, {\left (3 \, \cos \left (d x + c\right )^{4} + 4 \, \cos \left (d x + c\right )^{2} + 8\right )} \sin \left (d x + c\right )}{30 \, a d} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 1096 vs. \(2 (54) = 108\).
Time = 19.93 (sec) , antiderivative size = 1096, normalized size of antiderivative = 16.12 \[ \int \frac {\cos ^7(c+d x)}{a+a \sin (c+d x)} \, dx=\text {Too large to display} \]
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 67, normalized size of antiderivative = 0.99 \[ \int \frac {\cos ^7(c+d x)}{a+a \sin (c+d x)} \, dx=-\frac {5 \, \sin \left (d x + c\right )^{6} - 6 \, \sin \left (d x + c\right )^{5} - 15 \, \sin \left (d x + c\right )^{4} + 20 \, \sin \left (d x + c\right )^{3} + 15 \, \sin \left (d x + c\right )^{2} - 30 \, \sin \left (d x + c\right )}{30 \, a d} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 67, normalized size of antiderivative = 0.99 \[ \int \frac {\cos ^7(c+d x)}{a+a \sin (c+d x)} \, dx=-\frac {5 \, \sin \left (d x + c\right )^{6} - 6 \, \sin \left (d x + c\right )^{5} - 15 \, \sin \left (d x + c\right )^{4} + 20 \, \sin \left (d x + c\right )^{3} + 15 \, \sin \left (d x + c\right )^{2} - 30 \, \sin \left (d x + c\right )}{30 \, a d} \]
[In]
[Out]
Time = 10.31 (sec) , antiderivative size = 80, normalized size of antiderivative = 1.18 \[ \int \frac {\cos ^7(c+d x)}{a+a \sin (c+d x)} \, dx=\frac {\frac {\sin \left (c+d\,x\right )}{a}-\frac {{\sin \left (c+d\,x\right )}^2}{2\,a}-\frac {2\,{\sin \left (c+d\,x\right )}^3}{3\,a}+\frac {{\sin \left (c+d\,x\right )}^4}{2\,a}+\frac {{\sin \left (c+d\,x\right )}^5}{5\,a}-\frac {{\sin \left (c+d\,x\right )}^6}{6\,a}}{d} \]
[In]
[Out]